@import "~@/public-style.less";
.input-style{
    margin-top: 30px;
    width: 100%;
    label{
        font-size: 16px;
        font-family: 'Times New Roman', Times, serif;
        color:rgba(0, 0, 0, 1);
        font-weight: bold;
    }
    input{
        margin-top:5px;
        width: 100%;
        height: 40px;
        text-indent: 10px;
        border-radius: 5px;
        border:1px solid transparent;
        box-shadow: 0px 0px 1px @foreground-color;
        background-color:rgba(200, 200, 200,.9);
        &:focus{
            border:1px solid @foreground-color;
        }
        &:focus-visible{
            outline:none;
        }
    }
}
.login-container{
    position: absolute;
    right: 6%;
    top:50%;
    transform: translateY(-50%);
    border-radius: 6px;
    width: 360px;
    height: 450px;
    background-color: rgba(255,255,255,.2);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
    padding:40px;
    box-sizing: border-box;
    .title{
        width: 100%;
        height: 60px;
        font-size: 26px;
        color:@White-theme-title-color;
        font-family: 'Times New Roman', Times, serif;
        display: flex;
        align-items: center;
    }
    .username{
        .input-style();
    }
    .password{
        .input-style();
        position: relative;
        .icon{
            position: absolute;
            right: 10px;
            bottom:12px;
        }
    }
    .btn{
        margin-top: 40px;
        width: 100%;
        label{
            font-size: 16px;
            font-family: 'Times New Roman', Times, serif;
            color:rgb(60, 255, 0);
            font-weight: bold;
            cursor: pointer;
        }
        .button{
            margin-top: 5px;
            width: 100%;
            height: 40px;
            background-color: @foreground-color;
            color:@collocation-foreground-color;
            cursor: pointer;
            font-family: 'Times New Roman', Times, serif;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 5px;
            box-shadow: 0px 0px 4px rgba(0, 0, 0, .6);
            &:hover{
                background-color: @foreground-desaturate-color;
            }
        }
    }
}